package homework;

import java.util.Scanner;

public class Test7 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("X:");
        int x = sc.nextInt();
        System.out.println("Y:");
        int y = sc.nextInt();
        System.out.println("Z:");
        int z = sc.nextInt();

        System.out.println(x > y ? x > z ? x : z : y > z ? y : z);
    }
}
